package org.mtmi.ui.actions;

import org.mtmi.ui.drawables.IDrawable;

public interface IAction 
{
	/** @return the title of action */
	String getText();
	
	/** @return the image of action */
	IDrawable getImage();
	
	/** @return enabled state of action */
	boolean isEnabled();
	
	/** run the action */
	void run();
	
	public static final int PUSH=0;
	public static final int SEPARATOR=1;
	
	/** @return the type of action, see constants above */
	public int getType();
}
